package com.qk.config;

import com.qk.interceptor.TokenInterceptor;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//@Configuration
public class WebConfig implements WebMvcConfigurer {
 //   @Autowired
    private TokenInterceptor tokenInterCeptor;
/*    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        registry.addInterceptor(tokenInterCeptor).addPathPatterns("/**");
    }*/
}
